package com.tm.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(name = "seata-storage")
public interface StorageClient {

    @PutMapping("updateStorage")
    int updateStorage(@RequestBody Map<String, String> map);
}
